package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.InnerAgrtRateDao;
import top.infopub.model.bpa.InnerAgrtRate;
import top.infopub.mgr.bpa.service.InnerAgrtRateService;

@Service
public class InnerAgrtRateServiceImpl extends GenericServiceImpl<InnerAgrtRate, String> implements
		InnerAgrtRateService {

	@Autowired
	private InnerAgrtRateDao innerAgrtRateDao;
	
	@Override
	public GenericDao<InnerAgrtRate, String> getDao() {
		return innerAgrtRateDao;
	}

    @Override
    public List<InnerAgrtRate> selectInnerAgrtRateByInnerAgrtId(String innerAgrtId) {
        return innerAgrtRateDao.selectInnerAgrtRateByInnerAgrtId(innerAgrtId);
    }

}